﻿@model GrandMan.Models.Admin.HomeTeamModel
@{
    ViewBag.Title = "管理团队";
    Layout = "Layout.cshtml"; 
}
@using (Html.BeginForm())
{
    <div class="content-box-header">
        <h3>
            管理团队</h3>
    </div>
    <div class="content-box-content">
        <div class="bulk-actions align-left">
            @Html.LabelFor(m => m.Name)
            @Html.TextAreaFor(m => m.Name)
            @Html.ValidationMessageFor(m => m.Name, new { style = "color:Red" })
        </div>
        <div class="clear">
        </div>
        <div class="bulk-actions align-left">
            @Html.LabelFor(m => m.Seq)
            @Html.TextBoxFor(m => m.Seq)
        </div>
        <div class="clear">
        </div>
        <div class="bulk-actions align-left">
            @Html.LabelFor(m => m.ImagePath)
            @Html.TextBoxFor(m => m.ImagePath, new { style = "display:none", @class = "input_url" })
            <iframe scrolling="no" frameborder="0" name="upImg" src="../../Scripts/ueditor/dialogs/image/upload.aspx"
                style="width: 200px; height: 25px; padding: 0; margin: 0"></iframe>
        </div>
        @Html.HiddenFor(m => m.ID)
        <div class="clear">
        </div>
        <p class="submit">
            <input type="submit" value="确定" class="input-submit" />
        </p>
        <script type="text/javascript">
            function reloadImg(url) {
                $(".input_url").val(url);
            }
        </script>
    </div>
}
